import React from 'react';

interface TitleProps {
    title:string,
    id:string
}

const Title: React.FC<TitleProps> = ({title, id}) => {
    return (
        <div className="text-2xl text-center text-gray-600 my-8" id={id}>
            {title}
        </div>
    );
};

export default Title;